package tyris.service;

import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.List;

import tyris.bean.Exam;
import tyris.dto.ExamDto;

public interface ExamService extends Remote{
	
	public boolean add(Exam exam) throws RemoteException;
	
	public boolean delete(long eid) throws RemoteException;
	
	public List<Exam> selectByPid(long Pid) throws RemoteException;
	
	public List<Exam> selectByDto(ExamDto dto) throws RemoteException;
	
	public long selectMaxExamID() throws RemoteException;
	
}
